import request from '@/utils/request';

// 应付单列表
export function List(query) {
	return request({
		url: '/expense/main/list',
		method: 'get',
		params: query,
	});
}

// 提报数据
export function Putin(data) {
	return request({
		url: '/expense/main/submit',
		method: 'post',
		data,
	});
}

// 提报数据
export function ProcessIdTask(data) {
	return request({
		url: '/flowable/task/getProcessIdTask',
		method: 'post',
		data,
	});
}


// 获取跳转参数
export function Params(flowBusinessId) {
	return request({
		url: `/car/carWorkOrder/queryByFlowBusinessId/${flowBusinessId}`,
		method: 'get',
	});
}